package Rangel.firebrigade.buildingdetector.targetselector;

import Rangel.firebrigade.util.FireBrigadeUtilities;
import Rangel.firebrigade.world.RangelFireBrigadeWorld;
import adf.agent.info.AgentInfo;
import Rangel.firebrigade.buildingdetector.targetselector.directionbased.RangelFireBrigadeDirectionManager;
import Rangel.common.world.entity.RangelBuilding;


public abstract class DefaultFireBrigadeTargetSelector implements IFireBrigadeTargetSelector {

    protected RangelFireBrigadeWorld world;
    protected FireBrigadeUtilities fireBrigadeUtilities;
    protected RangelFireBrigadeDirectionManager directionManager;

    protected RangelBuilding target;
    protected RangelBuilding lastTarget;

    protected DefaultFireBrigadeTargetSelector(RangelFireBrigadeWorld world, AgentInfo agentInfo) {
        this.world = world;
        this.fireBrigadeUtilities = new FireBrigadeUtilities();
        this.directionManager = new RangelFireBrigadeDirectionManager(world,agentInfo);
    }

}
